package com.atguigu.classroom.vod.service;

import com.atguigu.classroom.model.vod.Teacher;
import com.atguigu.classroom.vo.vod.TeacherQueryVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 讲师 服务类
 * </p>
 *
 * @author atguigu
 * @since 2022-04-13
 */

public interface TeacherService extends IService<Teacher> {

    List<Teacher> findAll();

    boolean removeBtId(Long id);

    Page<Teacher> findQueryPage(int current, int limit, TeacherQueryVo teacherQueryVo);

    boolean saveTeacher(Teacher teacher);

    boolean updateTeacher(Teacher teacher);

    void delBatch(List<Long> ids);
}
